using AutoMapper;
using B.S.XZYData.Api.Read.Application.Command.Role;
using B.S.XZYData.Domain.RBAC;

namespace B.S.XZYData.Api.Read.Profiles
{
    public class RoleProfile : Profile
    {
        public RoleProfile()
        {
            CreateMap<RoleModel, RoleDto>()
                .ForMember(dest => dest.PermissionNames, opt => opt.Ignore())
                .ForMember(dest => dest.PermissionIds, opt => opt.Ignore());
        }
    }
} 